home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / ssetup26.zip / SETUP.H_ / SETUP.H
C/C++ Source or Header  |  1995-07-27  |  6KB  |  179 lines

  1. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2. //
  3. //        SETUP.H
  4. //        Main classes declarations for SETUP.CPP file.
  5. //
  6. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  7. //
  8. //        You can use this sample at your own risk.
  9. //
  10. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  11. //
  12. //        Use this file with SETUP.CPP and CSETUP.DLL.
  13. //        If you want to compile this file, you must use Visual C++ and MFC 2.0 library.
  14. //
  15. //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  16. #ifndef __AFXWIN_H__
  17.     #error include 'stdafx.h' before including this file for PCH
  18. #endif
  19.  
  20. #include "resource.h"        // main symbols
  21.  
  22.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  23.         // CSetupApp:
  24.         // See setup.cpp for the implementation of this class
  25.         //
  26.         
  27.         class CSetupApp : public CWinApp
  28.         {
  29.         public:
  30.             CSetupApp();
  31.             virtual BOOL InitInstance();
  32.             virtual int ExitInstance();
  33.             //{{AFX_MSG(CSetupApp)
  34.                 // NOTE - the ClassWizard will add and remove member functions here.
  35.                 //    DO NOT EDIT what you see in these blocks of generated code !
  36.             //}}AFX_MSG
  37.             DECLARE_MESSAGE_MAP()
  38.         };
  39.         
  40.         //{{AFX_VBX_REGISTER()
  41.         //}}AFX_VBX_REGISTER
  42.         
  43.         
  44.         
  45.         
  46.         
  47.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  48.         // CFirst dialog
  49.         
  50.         class CFirst : public CDialog
  51.         {
  52.         BOOL FirstCanClose;
  53.         public:
  54.             CFirst(CWnd* pParent = NULL);    // standard constructor
  55.             //{{AFX_DATA(CFirst)
  56.             enum { IDD = IDD_FIRST };
  57.                 // NOTE: the ClassWizard will add data members here
  58.             //}}AFX_DATA
  59.         protected:
  60.             HFONT hfontDlg;
  61.             LOGFONT lFont;
  62.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  63.             //{{AFX_MSG(CFirst)
  64.             virtual BOOL OnInitDialog();
  65.             afx_msg LRESULT OnFirstPrivate( WPARAM wParam, LPARAM lParam );
  66.             afx_msg void OnClose();
  67.             afx_msg void OnDestroy();
  68.             //}}AFX_MSG
  69.             DECLARE_MESSAGE_MAP()
  70.         };
  71.         
  72.         
  73.         
  74.         
  75.         
  76.         
  77.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  78.         // CMain dialog
  79.         
  80.         class CMain : public CDialog
  81.         {
  82.         public:
  83.             CMain(CWnd* pParent = NULL);    // standard constructor
  84.             //{{AFX_DATA(CMain)
  85.             enum { IDD = IDD_MAIN };
  86.                 // NOTE: the ClassWizard will add data members here
  87.             //}}AFX_DATA
  88.         protected:
  89.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  90.             //{{AFX_MSG(CMain)
  91.             virtual BOOL OnInitDialog();
  92.             afx_msg LRESULT OnFirstPrivate( WPARAM wParam, LPARAM lParam );
  93.             afx_msg LRESULT OnNewDisk( WPARAM wParam, LPARAM lParam );
  94.             afx_msg void OnPaint();
  95.             afx_msg void OnNcPaint();
  96.             //}}AFX_MSG
  97.             DECLARE_MESSAGE_MAP()
  98.         };
  99.         
  100.         
  101.         
  102.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  103.         // CChoice1 dialog
  104.         
  105.         class CChoice1 : public CDialog
  106.         {
  107.         public:
  108.             CChoice1(CWnd* pParent = NULL);    // standard constructor
  109.             //{{AFX_DATA(CChoice1)
  110.             enum { IDD = IDD_CHOICE1 };
  111.                 // NOTE: the ClassWizard will add data members here
  112.             //}}AFX_DATA
  113.         protected:
  114.             HFONT hfontDlg;
  115.             LOGFONT lFont;
  116.             
  117.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  118.             //{{AFX_MSG(CChoice1)
  119.             virtual BOOL OnInitDialog();
  120.             afx_msg void OnClickedRadioenglish();
  121.             afx_msg void OnClickedRadiofrench();
  122.             afx_msg void OnChangeEditsrcpath();
  123.             virtual void OnOK();
  124.             afx_msg void OnDestroy();
  125.     afx_msg void OnBrowse();
  126.     //}}AFX_MSG
  127.             DECLARE_MESSAGE_MAP()
  128.         };
  129.         
  130.         
  131.         
  132.         
  133.         
  134.         
  135.         
  136.         //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  137.         // CChoice2 dialog
  138.         
  139.         class CChoice2 : public CDialog
  140.         {
  141.         public:
  142.             CChoice2(CWnd* pParent = NULL);    // standard constructor
  143.             //{{AFX_DATA(CChoice2)
  144.             enum { IDD = IDD_CHOICE2 };
  145.                 // NOTE: the ClassWizard will add data members here
  146.             //}}AFX_DATA
  147.         protected:
  148.             HFONT hfontDlg;
  149.             LOGFONT lFont;
  150.             void HandleCheckBox( int iD );
  151.             
  152.             virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  153.             //{{AFX_MSG(CChoice2)
  154.             virtual BOOL OnInitDialog();
  155.             afx_msg void OnClickedChangepath();
  156.             virtual void OnOK();
  157.             afx_msg void OnClickedCheck1();
  158.             afx_msg void OnClickedCheck2();
  159.             afx_msg void OnClickedCheck3();
  160.             afx_msg void OnClickedCheck4();
  161.             afx_msg void OnClickedCheck5();
  162.             afx_msg void OnClickedCheck6();
  163.             afx_msg void OnClickedCheck7();
  164.             afx_msg void OnClickedCheck8();
  165.             afx_msg void OnClickedCheck9();
  166.             afx_msg void OnClickedCheck10();
  167.             afx_msg void OnClickedCheck11();
  168.             afx_msg void OnClickedCheck12();
  169.             afx_msg void OnClickedCheck13();
  170.             afx_msg void OnClickedCheck14();
  171.             afx_msg void OnClickedCheck15();
  172.             afx_msg void OnDestroy();
  173.             //}}AFX_MSG
  174.             DECLARE_MESSAGE_MAP()
  175.         };
  176.         
  177.         
  178.         
  179.